package com.woniu.communitymanagement.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 投诉信息表
 * @TableName complaint
 */
@TableName(value ="complaint")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Complaint implements Serializable {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 关联complaint_type表主键
     */
    @TableField(value = "com_id")
    private String comId;

    /**
     * 投诉日期
     */
    @TableField(value = "com_date")
    private Date comDate;

    /**
     * 关联owner表主键
     */
    @TableField(value = "owner_id")
    private Integer ownerId;

    /**
     * 状态：0=未处理；1=已处理
     */
    @TableField(value = "status")
    private String status;

    /**
     * 处理人
     */
    @TableField(value = "clr")
    private Integer clr;//处理人

    /**
     * 备注
     */
    @TableField(value = "remarks")
    private String remarks;
    private String userName;//投诉人
    private String name;//投诉类型

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;


}